<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./jquery.js"></script>
</head>
<body>
    <button id="btn">登录</button>
</body>
<script>
    $('#btn').click(function(){
        $.ajax({
            url:'http://localhost:3000/user',
            method: 'POST',
            data:{}
        }).then((res)=>{
            console.log(res);
        })
    });
</script>
</html>